package org.finesys.common.seata.config;

import io.seata.spring.annotation.datasource.EnableAutoDataSourceProxy;
import org.finesys.common.core.support.io.YamlPropertiesSourceFactory;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * seata配置类
 */

@PropertySource(value = "classpath:seata-config.yml", factory = YamlPropertiesSourceFactory.class)
@EnableAutoDataSourceProxy(useJdkProxy = true)
@Configuration(proxyBeanMethods = false)
public class SeataAutoConfig {
}
